//
//  UIFont+category.m
//  ios-loan
//
//  Created by guoqingping on 2017/12/18.
//  Copyright © 2017年 hxhg. All rights reserved.
//

#import "UIFont+category.h"
#import "ADScreenAdaptation.h"

@implementation UIFont (category)
+ (UIFont *)scale_systemFontOfSize:(CGFloat)fontSize{
    return [UIFont systemFontOfSize:adsaW(fontSize)];
}
+ (UIFont *)scale_boldSystemFontOfSize:(CGFloat)fontSize{
    return [UIFont boldSystemFontOfSize:adsaW(fontSize)];
}
+ (nullable UIFont *)scale_fontWithName:(NSString *)fontName size:(CGFloat)fontSize{
    return [UIFont fontWithName:fontName size:adsaW(fontSize)];
}


@end
